﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
	
<sec:authentication property="principal" var="currentPrincipal" scope="page" />
	
<ul class="nav navbar-nav navbar-right ihg-navbar-nav" style="margin-right: 0px;">
  <li><a href="${ctx.host}/profile" style="margin: 0px 10px 0px 5px">${currentPrincipal.name}</a></li>
  <li><a href="${ctx.host}/j_spring_security_logout" style="margin: 0 8px;"><span class="glyphicon glyphicon-off" aria-hidden="true" style="font-size: 14px; font-weight: 600;"></span></a></li>
</ul> 